package com.jic.manager.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.manager.entity.MechannelManagerment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 渠道管理
 * @author : 
 * @email : 
 * @since : 2020-02-26 09:40:21
 * @version : v1.0.0
 */
@Mapper
public interface  MechannelManagermentMapper {

    long insert(MechannelManagerment mechannelManagerment);

    long delete(Long id);

    long update(MechannelManagerment mechannelManagerment);

    MechannelManagerment queryByPrimaryKey(Long id);

    List<MechannelManagerment> query(MechannelManagerment mechannelManagerment);

    List<MechannelManagerment> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("mechannelManagerment") MechannelManagerment mechannelManagerment);

    long queryPageCount(MechannelManagerment mechannelManagerment);
}